i=0
sum=0
while i<5:
    i+=1
    num=int(input("请输入成绩:"))
    sum+=num
else:
    print(i)
    print("平均分为:"+str(sum/i))
